<template>
  <div>
    <!-- 缓存  不缓存 搜索页， 搜索结果页， 文章详情页 用户编辑页面-->
    <keep-alive exclude="Search,SearchResult,Articledetail,UserEdit">
    <router-view></router-view>
    </keep-alive>
  </div>
</template>

<script>
// import { getChannelApi } from '@/api'
export default {
  name: 'HmttApp',

  data () {
    return {}
  },

  mounted () {

  },

  methods: {},
  async created () {
    // try {
    //   const res = await getChannelApi()
    //   console.log(res)
    // } catch (err) {
    //   打印详细结果
    //   console.dir(err)
    // }
  }
}
</script>

<style lang="scss" scoped></style>
